﻿using System;
using System.Collections.Generic;

using System.Text;

namespace RebellionII.GameObjects.Units.Instances
{
    public class Fleet: UnitInstance
    {
        List<CapitalShipInstance> capShips = new List<CapitalShipInstance>();

        public List<CapitalShipInstance> CapShipsList
        {
            get { return capShips; }
        }

        public Fleet()
            :base()
        {
            iReferenceID = -10;
        }

        public void AddShips(CapitalShipInstance ship)
        {
            capShips.Add(ship);
        }

        public void AddShips(Fleet secondFleet)
        {

        }

        public void RemoveShips(CapitalShipInstance ship)
        {
            if (capShips.Contains(ship))
                capShips.Remove(ship);
        }



    }
}
